package org.basis.enhance.async.init.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 异步初始化注解
 *
 * @author wenpan 2023/6/11 4:01 下午
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface BasisAsyncInit {

    /**
     * Whether init-method async invoke should occur.
     */
    boolean value() default true;

}